package gx.dao.impl.common;


import org.springframework.stereotype.Repository;

import gx.dao.SupplierDao;
import gx.dao.impl.common.BaseDaoImpl;
import gx.entity.Supplier;
import gx.entity.common.Page;

@Repository
public class SupplierDaoImpl extends BaseDaoImpl<Supplier> implements SupplierDao {
	public Page<Supplier> findByName(int size,int number,String name){
	    String hql="from Supplier where name like ?";
		name="%" + name + "%";		
		return find(size, number, hql, name);
		
		
	}

}
